package com.lianqi.emcpframework.shiro.cas.autoconfigure;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;

/**
 * @program emcp-framework
 * @ClassName ShiroCasProperties
 * @description: 配置项
 * @author: sky
 * @create: 2019/05/28 10:46
 */
@ConfigurationProperties(prefix = "emcp.sso")
public class ShiroCasProperties {

    private String jwtSalt = "1234567890ABCDEFGHIJKLMNOPQRSTUV";

    @NestedConfigurationProperty
    CasProperties cas = new CasProperties();
    @NestedConfigurationProperty
    ShiroProperties shiro = new ShiroProperties();


    public CasProperties getCas() {
        return cas;
    }

    public void setCas(CasProperties cas) {
        this.cas = cas;
    }

    public ShiroProperties getShiro() {
        return shiro;
    }

    public void setShiro(ShiroProperties shiro) {
        this.shiro = shiro;
    }



    public String getJwtSalt() {
        return jwtSalt;
    }

    public void setJwtSalt(String jwtSalt) {
        this.jwtSalt = jwtSalt;
    }


}
